//
//  HMTextLabel.h
//  ReadDemo
//
//  Created by YPShao on 2017/10/18.
//  Copyright © 2017年 YPShao. All rights reserved.
//

#import <UIKit/UIKit.h>

typedef NS_ENUM(NSUInteger, HMLastTextType) {
    HMLastTextTypeNormal,
    HMLastTextTypeAttributed,
};

@interface HMTextLabel : UILabel

@property (nonatomic, assign) CGFloat lineHeightMultiple;  //行高的multiple
@property (nonatomic, assign) CGFloat lineSpacing;         //行间距
@property (nonatomic, assign) UIEdgeInsets textInsets;
@property (nonatomic, copy) void(^doBeforeDrawingTextBlock)(CGRect rect,CGPoint beginOffset,CGSize drawSize);

/**
 * 设置高亮的文本
 */
- (void)setHighLightRange:(NSRange )highLightRange;



@end
